package com.wk.database.entity;

public class NoTableSpecifiedException extends RuntimeException {

	private static final long serialVersionUID = -3040672001727276583L;

	public NoTableSpecifiedException(Class<?> entity) {
		super("未指定数据库表。实体类：" + entity.getName() + "；缺少注解：@Table", null);
		this.entity = entity.getName();
	}
	
	public String entity; 
}
